package init

import (
	"fmt"
	"github.com/spf13/viper"
	"shop-src/basic/config"
)

func InitsConfig() {
	viper.SetConfigFile("../../config.yaml")
	viper.ReadInConfig()
	viper.Unmarshal(&config.Config)
	fmt.Println(config.Config)
}
